package com.itjin.model.domain.vo;

import lombok.Data;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GetPostListVO {

  private Integer id;

  private Integer authorId;

  private String content;

  private String image1;

  private String image2;

  private String image3;

  private String image4;

  private String image5;

  private String image6;

  private String image7;

  private String image8;

  private String image9;

  private Integer isAnonymous;

  /**
   * 帖子类型
   * 0：默认
   * 1：公告
   * 2：活动
   * 3：求助
   * 4：二手交易
   * 5：表白
   * 6：失物招领
   * 7：校园咨询
   * 8：吐槽
   * 9：学习
   * 10：反馈与建议
   */
  private Integer type;

  private Date createTime;

  private Date updateTime;

  private Integer postStatus;

  private Integer viewsCount;

  private Integer commentsCount;

  private Integer likesCount;

  private Integer collectsCount;

  /**
   * 作者用户名
   */
  private String authorName;

  /**
   * 作者头像
   */
  private String authorAvatar;

  /**
   * 帖子标题
   */
  private String title;

  private List<String> tags;

}
